#ifndef REMI_H
#define REMI_H

#include <QWidget>
#include <QtSql>
#include <QInputDialog>
#include <QMessageBox>
#include <QSound>
#include <QKeyEvent>
#include <QMouseEvent>
#include <QDropEvent>
#include <QList>
#include "decipheraddon.h"
#include "spinboxdelegate.h"
#include "remitable.h"
#include "remiadddialog.h"

namespace Ui {
class Remi;
}

class Remi : public QWidget
{
    Q_OBJECT

public:
    explicit Remi(QWidget *parent = 0);
    ~Remi();

Q_SIGNALS:
    void archiviert();

private Q_SLOTS:
    void checkAll();
    bool add_remi_check();
    void add_remi();
    void check_delete();
    void archivieren();

protected:
    void keyPressEvent(QKeyEvent *event);

private:
    Ui::Remi *ui;
    QSqlDatabase db;
    DecipherAddon da;
    RemiTable *remitable;
};

#endif // REMI_H
